package com.example.demotest.service;

import com.example.demotest.pojo.User;
import com.example.demotest.repository.UserFollowRepository;
import com.example.demotest.repository.UserRepository;

import java.util.List;

public interface IUserFollowService {
    public void follow(Integer myId, Integer targetId);

    public void unfollow(Integer myId, Integer targetId);

    public List<User> getFollowing(Integer userId);

    public List<User> getFollowers(Integer userId);

    public boolean isFollowing(Integer myId, Integer targetId);
}
